<template>
  <div class="video-box">
    <el-row>
        <el-col :span="6" style="float:left; margin-left: 45vw; width: 270px; height: 40px;">
            <el-input
              type="text"
              prefix-icon="el-icon-search"
              v-model="kb_content"
              placeholder="请输入"
              style="width: 270px; cursor: pointer"
              @keyup.enter.native="getAllKb"
            ></el-input>
          </el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  data() {
    return {
      kb_content: '', // 确保这里初始化为空字符串或其他默认值
      fileList: []
    };
  },
  methods: {
    getAllKb() {
      // ...
    }
  }
  // ...
}
</script>

<style scoped>
.video-box {
  margin-top: 20px;
}
</style>